package com.albaba.designpattern.observer.text_002;

import java.util.Random;

/**
 * @Description: TODO
 * @Author zx
 * @Date 2025/2/24 15:48
 * @Version 1.0
 */
public class TestApp {

    public static void main(String[] args) {
        LotteryServiceImpl lotteryService = new LotteryServiceImpl();


        LotteryResult lottery = lotteryService.lottery(new Random(1000).toString());
        System.out.println(lottery);

    }
}
